diff options
author | Mattias Andrée <maandree@kth.se> | 2017-11-23 21:50:57 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2017-11-23 21:50:57 +0100 |
commit | 5f15becca30a1ab7557851230a7e31d00aab9d8e (patch) | |
tree | 57d8f1fbae0e95a55763b21a6697b0017619da76 /xz-java [disowned]/PKGBUILD | |
parent | Update sha3sum (diff) | |
download | aur-packages-5f15becca30a1ab7557851230a7e31d00aab9d8e.tar.gz aur-packages-5f15becca30a1ab7557851230a7e31d00aab9d8e.tar.bz2 aur-packages-5f15becca30a1ab7557851230a7e31d00aab9d8e.tar.xz |
Disown some packages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'xz-java [disowned]/PKGBUILD')
-rw-r--r-- | xz-java [disowned]/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/xz-java [disowned]/PKGBUILD b/xz-java [disowned]/PKGBUILD new file mode 100644 index 0000000..56993be --- /dev/null +++ b/xz-java [disowned]/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Mattias Andrée <`base64 -d`(bWFhbmRyZWUK)@member.fsf.org> +pkgname=xz-java +pkgver=1.5 +pkgrel=1 +pkgdesc="Java library for XZ and LZMA compression" +arch=('any') +url="http://tukaani.org/xz/java.html" +license=('Public Domain') +depends=('java-runtime>=1.4') +makedepends=('java-environment>=1.4', 'unzip') +provides=('xz-java') +conflicts=('xz-java') +source=(http://tukaani.org/xz/xz-java-$pkgver.zip) +sha256sums=(0146e437b01ac77046d256a2e7537768b6922c49635c27fa40b3cf745bb2db74) + +build() { + cd "$srcdir" + javac -source 1.4 -target 1.4 -d . -s src -cp . $(find src | grep \\.java\$) + jar -cf xz-java.jar $(find . | grep \\.class\$) +} + +package() { + cd "$srcdir" + install -d "$pkgdir/usr/lib/" + install -m 755 xz-java.jar "$pkgdir/usr/lib/" +} |